package ${packageName}.${moduleName}.mapper;

import com.yanggu.common.mybatis.mapper.BaseMapperPlus;
import com.baomidou.mybatisplus.core.metadata.IPage;
import ${packageName}.${moduleName}.domain.entity.${ClassName}Entity;
import ${packageName}.${moduleName}.domain.vo.${ClassName}VO;
import ${packageName}.${moduleName}.domain.query.${ClassName}EntityQuery;
import ${packageName}.${moduleName}.domain.query.${ClassName}VOQuery;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * ${tableComment}Mapper
 */
@Mapper
@Repository
public interface ${ClassName}Mapper extends BaseMapperPlus<${ClassName}Entity> {

    /**
     * Entity分页
     */
    IPage<${ClassName}Entity> entityPage(@Param("query") ${ClassName}EntityQuery query);

    /**
     * Entity列表
     */
    List<${ClassName}Entity> entityList(@Param("query") ${ClassName}EntityQuery query);

    /**
     * VO分页
     */
    IPage<${ClassName}VO> voPage(@Param("query") ${ClassName}VOQuery query);

    /**
     * VO列表
     */
    List<${ClassName}VO> voList(@Param("query") ${ClassName}VOQuery query);

}